package com.selen.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Selen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "DeptUpdateDTO", description = "部门修改DTO")
public class DeptUpdateDTO implements Serializable {

    /**  主键  */
    @NotNull(message = "主键不能为空")
    @Schema(description = "主键", example = "1")
    private Long id;

    /**  部门名称  */
    @Schema(description = "部门名称", example = "学生会")
    private String title;

    /**  部门描述  */
    @Schema(description = "部门描述", example = "管理学生教学相关活动")
    private String info;

    /** 部门所在房间ID */
    @Schema(description = "部门所在房间ID", example = "1")
    private Integer fkRoomId;


}